package api.rowan.dubboservice.mapper;

import api.rowan.pojo.Pet;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Component
@Service
public class PetMapperImpl implements PetMapper {
    @Override
    public Pet getPet() {
        Pet pet = new Pet();
        pet.setName("小黑");
        pet.setType("dog");
        return pet;
    }
}
